package com.snake.springboot.authority.api.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="权限管理-操作员与角色关系的入参")
public class AuthOperatorRoleModel {

    @ApiModelProperty(value="操作员ID", required=true)
    private String operatorId;

    @ApiModelProperty(value="角色ID", required = true)
    private String roleId;

    public AuthOperatorRoleModel() {}

    public AuthOperatorRoleModel(String operatorId, String roleId) {
        this.operatorId = operatorId;
        this.roleId = roleId;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "AuthOperatorRoleModel{" +
                "operatorId=" + operatorId +
                ", roleId=" + roleId +
                '}';
    }
}